import axios from "../axios"

/**
 * 积分商城-列表
 */
export const integralMallList=(params)=>{
    return axios({
        url:"/api/integralmall/list",
        method:'post',
        params
    })
}
/**
 * 积分商城-列表
 */
export const integralMallDetail=(params)=>{
    return axios({
        url:"/api/integralmall/detail",
        method:'post',
        params
    })
}
/**
 * 积分商城-列表
 */
export const integralMallCreate=(data)=>{
    return axios({
        url:"/api/integralmall/create",
        method:'post',
        data
    })
}

/**
 * 我的积分
 * */
export const myIntegral=(params)=>{
    return axios({
        url:"/api/integralmall/myIntegral",
        method:'post',
        params
    })
}
